package com.fuqi.android.zhongcai.business.shuig.request.api;


import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.fuqi.android.zhongcai.base.ApiUrl;
import com.fuqi.android.zhongcai.business.shuig.request.result.CheckInfoQueryByDateResult;
import com.fuqi.framework.network.api.AbsRequest;
import com.fuqi.framework.network.params.BaseParams;


/*
*  抽查数据（时间段查询）接口
* */


public class CheckInfoQueryByDateApi extends AbsRequest<CheckInfoQueryByDateApi.CheckInfoQueryByDateParams, CheckInfoQueryByDateResult> {

    public CheckInfoQueryByDateApi(CheckInfoQueryByDateParams checkInfoQueryParams, Listener<CheckInfoQueryByDateResult> listener, ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getQueryCheckedByDateUrl(), checkInfoQueryParams, listener, errorListener, CheckInfoQueryByDateResult.class);
    }

    public static class CheckInfoQueryByDateParams extends BaseParams {

        public CheckInfoQueryByDateParams(String startDate, String endDate) {

                put("startDate", startDate);
                put("endDate", endDate);
        }
    }


}
